﻿using System;
using System.Collections.Generic;
using UnityEngine;
using ZYLFramework.Manage;
using ZYLFramework.UI;

namespace Game.UI
{

    public class UIInit
    {
        private UIManage _uiManage;
        public UIInit()
        {
            _uiManage = UIManage.Instance;
        }

        public void Init()
        {
           _uiManage.Register(UIEnum.OverPanel,"OverPanel",new OverPanelCtrl(),new OverPanelModel(),new OverPanelView()); 
           // _uiManage.Register(UIEnum.GamePanel,"GamePanel",new GamePanelCtrl(),new GamePanelModel(),new GamePanelView()); 
           // _uiManage.Register(UIEnum.LoadPanel,"LoadPanel",new LoadPanelCtrl(),new LoadPanelModel(),new LoadPanelView());
           // _uiManage.Register(UIEnum.AStartPanel,"AStartPanel",new AStartPanelCtrl(),new AStartPanelModel(),new AStartPanelView()); 
           _uiManage.Register(UIEnum.TestPanel,"TestPanel",new TestPanelCtrl(),new TestPanelModel(),new TestPanelView()); 
           _uiManage.Register(UIEnum.PawnStatePanel,"PawnStatePanel",new PawnStatePanelCtrl(),new PawnStatePanelModel(),new PawnStatePanelView());
           _uiManage.Register(UIEnum.RoundPanel,"RoundPanel",new RoundPanelCtrl(),new RoundPanelModel(),new RoundPanelView()); 
        }
    }
}